(Fcopy_keymap): Check Fkeymapp value with NILP.
authorRichard M. Stallman <rms@gnu.org>
Sat, 12 Jun 1993 07:19:39 +0000 (07:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 12 Jun 1993 07:19:39 +0000 (07:19 +0000)
src/keymap.c

index 6d0f9e5c05879d104df3e354ab7af1f8d63a6252..24f3daa654998edd1f5f26d21daea20ae7405d76 100644 (file)
@@ -464,7 +464,7 @@ is not copied.")
 
          for (i = 0; i < XVECTOR (elt)->size; i++)
            if (XTYPE (XVECTOR (elt)->contents[i]) != Lisp_Symbol
-               && Fkeymapp (XVECTOR (elt)->contents[i]))
+               && ! NILP (Fkeymapp (XVECTOR (elt)->contents[i])))
              XVECTOR (elt)->contents[i] =
                Fcopy_keymap (XVECTOR (elt)->contents[i]);
        }